<template>
  <YsRow>
    <div class="info-title">
      检测设备
    </div>
    <YsTable :columns="tableColumn" border width="100%" :data="data">
    </YsTable>
  </YsRow>
</template>
<script>
export default {
  name: 'jcsbTable',
  props: {
    data: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
  data() {
    return {
      tableColumn: [
        {
          title: "序号",
          width: 80,
          tooltip: true,
          render: (h, params) => {
            return h("span", params.index + 1)
          },
        },
        {
          title: "委托编号",
          minWidth: 100,
          key: "pd_name",
          tooltip: true
        },
        {
          title: "检测设备名称",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
        {
          title: "胶片",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
        {
          title: "检测设备规格",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
        {
          title: "射线源",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
        {
          title: "增感屏",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
        {
          title: "像质计",
          key: "pd_code",
          minWidth: 100,
          tooltip: true
        },
      ]
    }
  },
  methods: {
  }
}
</script>
<style scoped lang='less'>
.info-title {
  font-weight: 500;
  padding: 10px 0;
  color: #423b3b;
  font-size: 18px;
  font-family: PingFang SC-Medium, PingFang SC;
}
</style>
